package com.wctj.api.business.common.service;

import com.wctj.api.base.enums.PayChannelEnums;
import com.wctj.api.business.common.dto.PayOrderDTO;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public interface AbstractPayChannelService {

    public static final Map<PayChannelEnums,AbstractPayChannelService> PAY_CHANNEL_MAP = new ConcurrentHashMap<>(8);

    /**
     * 初始化
     */
    void init();

    /**
     * 支付各渠道所需参数校验
     * @param param
     * @return
     */
    void validParam(PayOrderDTO param);



}
